<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>
<div class="rankingArea">
<div class="rankingTitle">${rankingTitle}</div>
<table class="listTable">
	<tr>
		<th><fmt:message key="label.order"/></th>
		<th><fmt:message key="label.nickname"/></th>
		<th><fmt:message key="label.wager"/></th>
		<th><fmt:message key="label.prize"/></th>
		<th><fmt:message key="label.withdrawal.rate"/></th>
		<th><fmt:message key="label.bets"/></th>
		<th><fmt:message key="label.hit"/></th>
		<th><fmt:message key="label.hit.rate"/></th>
	</tr>
<c:forEach var="ranking" items="${rankingList}" varStatus="status">
	<tr class="line${status.index % 2}">
		<td class="num">
			${f:h(ranking.order)}
		</td>
		<td class="nickName">
			${f:h(ranking.nickName)}
		</td>
		<td class="currency">
			<fmt:formatNumber value="${f:h(ranking.wager)}" pattern="###,###" />
		</td>
		<td class="currency">
			<fmt:formatNumber value="${f:h(ranking.withdrawal)}" pattern="###,###" />
		</td>
		<td class="num">
			<fmt:formatNumber value="${f:h(ranking.withdrawalRate)}" pattern="###,##0.00" />％
		</td>
		<td class="num">
			<fmt:formatNumber value="${f:h(ranking.bets)}" pattern="###,###" />
		</td>
		<td class="num">
			<fmt:formatNumber value="${f:h(ranking.hit)}" pattern="###,###" />
		</td>
		<td class="num">
			<fmt:formatNumber value="${f:h(ranking.hitRate)}" pattern="###,##0.00" />％
		</td>
	</tr>
</c:forEach>
</table>
</div>